package com.acoresoft.sm.entity;

import com.acoresoft.sm.base.bean.BaseEntity;

/**
 * 用户
 * 
 * @author WallenHeng
 * @date 2014年6月9日 下午5:24:49
 * 
 */
public class User implements BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2935960575538030645L;

	private String id;
	private String name;
	private String password;
	private String address;
	private String sex;
	private int age;
	
	public User() {
		super();
	}
	public User(String id, String name, String password, String address,
			String sex, int age) {
		super();
		this.id = id;
		this.name = name;
		this.password = password;
		this.address = address;
		this.sex = sex;
		this.age = age;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "name: " + name + ",password: " + password + ",sex: " + sex
				+ ",age: " + age + ",address: " + address + ",id: " + id;
	}
}
